@echo off
echo Testing enhanced restart script...
echo.

echo Checking Python...
python --version
if errorlevel 1 (
    echo Python not found
    exit /b 1
)
echo Python OK

echo.
echo Checking Node.js...
node --version
if errorlevel 1 (
    echo Node.js not found
    exit /b 1
)
echo Node.js OK

echo.
echo Checking project structure...
if not exist "backend" (
    echo Backend directory missing
    exit /b 1
)
if not exist "frontend" (
    echo Frontend directory missing
    exit /b 1
)
echo Project structure OK

echo.
echo All checks passed! Ready to test restart.bat
echo.
pause
